Bookly\Lib\Base\Gateway B

Total Complexity 77
Dependencies 24
Dependents 3
Total lines 448
Lines of code 254
Logical lines of code 137
Comment lines 107
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
complete()
B
41 19 50
retrieve()
A
46 10 36
createIntent()
S
54 5 22
fail()
S
61 5 12
applyCodes()
S
62 4 11
refund()
S
56 3 18
getMetaData()
S
65 4 9
getResponseUrl()
S
55 2 20
removeCascade()
S
65 3 9
createCheckout()
S
63 2 11
__construct()
S
72 2 5
validatePaymentData()
S
76 2 3
createPayment()
S
66 2 9
getCodes()
S
68 2 7
getCheckoutUrl()
S
100 1 0
getInternalMetaData()
S
100 1 0
refundPayment()
S
78 1 3
getWebHookUrl()
S
64 1 10
retrieveStatus()
S
100 1 0
isOnSite()
S
82 1 3
setPayment()
S
77 1 4
getGatewayAmount()
S
81 1 3
getGatewayTax()
S
81 1 3
getPayment()
S
82 1 3
getType()
S
82 1 3
createGatewayIntent()
S
100 1 0